﻿using System.Drawing;
using DimensionsHelper.Common.Contracts.Excel;
using DimensionsHelper.Common.Contracts.Excel.Options;
using DimensionsHelper.Common.Excel;

namespace DimensionsHelper.Common.TableFormatter;

public static class TableFormatterDefaultValues
{
    public const string FontFamily = "Calibri";
    public const double FontSize = 10d;

    public const double TableFirstColumnWidth = 14;
    public const double TableFixedColumnWidth = 7.5;

    public const string TableTitleFeature = "@";
    public const string TableEndFeature = "Table No: ";
    public const string MenuLinkSheetName = "SheetLink";
    public const string MenuIndexSheetName = "Index";
    public const string MenuBackText = "Back";
    public const string BaseFeature = "Base : ";
    public const string BaseContentFormat = "Base : {1} = {0}";

    public const string MenuLinkSheetLabel = "Index";

    public const int EmptyRowsFollowSheetLabel = 1;
    public const int BaseColumn = 2;

    public const string TableNumberFeature = "Table No: ";
    public const string TableNumberFormat = "Table No: {0}/{1}";

    public static readonly ExcelStyleColor DefaultHyperlinkColor = Color.Blue.ToExcelColor();

    public static readonly FontStyleOptions DefaultHyperlinkStyleOptions = new FontStyleOptions()
    {
        FontColor = DefaultHyperlinkColor,
        FontType = FontType.Bold
    };

    public static readonly RangeStyleOptions DefaultSectionStyleOptions = new RangeStyleOptions()
    {
        Font =
        {
            FontColor = Color.Blue.ToExcelColor()
        }
    };
}